package com.ruoyi.web.controller.iot.bean;

import lombok.Data;

@Data
public class Device {
    //平台设备id
    private int id;
    //设备名称
    private String device_name;
    //设备型号
    private String model_type;
    //设备ID
    private String client_id;
    //设备地址
    private String addr;
    //经度
    private float longitude;
    //维度
    private float latitude;
    //是否报警
    private boolean is_alarm;
    //激活时间,毫秒时间戳
    private float speed;
    //最后上报时间毫秒时间戳
    private long last_upload_at = 0;
    //设备状态
    private String status;
    //拓展字段
    private Object extend_fields;

}
